package com.zzyl.nursing.service;

import com.zzyl.nursing.entity.HealthData;
import com.zzyl.nursing.vo.HealthCardVo;
import org.springframework.stereotype.Service;

import java.util.List;


public interface IHealthService {

    //根据设备ID查询健康数据
    List<HealthData> getHealthDataByIotId(String iotId);

    //转换为前端展示的健康卡
    List<HealthCardVo> convertToCardVo(List<HealthData> rawData);

}
